public class Test {
    public static void main(String[] args) {
        String string1 = null;
        String string2 = new String();

        boolean empty = string2.isEmpty();
        System.out.println("string1 = " + string1);
        System.out.println("empty = " + empty);

    }
}
